package com.hl.ruoyicsmshop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 秒杀活动对象 kill_activity
 * 
 * @author ruoyi
 * @date 2025-08-09
 */
public class KillActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 秒杀活动ID */
    private Long kaId;

    /** 商家ID */
    private Long businessId;

    /** 秒杀活动名称 */
    @Excel(name = "秒杀活动名称")
    private String kaName;

    /** 活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date kaStartTime;

    /** 活动结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date kaEndTime;

    /** 活动状态(0-未开始,1-进行中,2-已结束) */
    @Excel(name = "活动状态(0-未开始,1-进行中,2-已结束)")
    private Long kaStatus;

    /** 活动描述 */
    @Excel(name = "活动描述")
    private String kaContent;

    /** 活动图片 */
    @Excel(name = "活动图片")
    private String kaImage;

    public void setKaId(Long kaId) 
    {
        this.kaId = kaId;
    }

    public Long getKaId() 
    {
        return kaId;
    }

    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }

    public void setKaName(String kaName) 
    {
        this.kaName = kaName;
    }

    public String getKaName() 
    {
        return kaName;
    }

    public void setKaStartTime(Date kaStartTime) 
    {
        this.kaStartTime = kaStartTime;
    }

    public Date getKaStartTime() 
    {
        return kaStartTime;
    }

    public void setKaEndTime(Date kaEndTime) 
    {
        this.kaEndTime = kaEndTime;
    }

    public Date getKaEndTime() 
    {
        return kaEndTime;
    }

    public void setKaStatus(Long kaStatus) 
    {
        this.kaStatus = kaStatus;
    }

    public Long getKaStatus() 
    {
        return kaStatus;
    }

    public void setKaContent(String kaContent) 
    {
        this.kaContent = kaContent;
    }

    public String getKaContent() 
    {
        return kaContent;
    }

    public void setKaImage(String kaImage) 
    {
        this.kaImage = kaImage;
    }

    public String getKaImage() 
    {
        return kaImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("kaId", getKaId())
            .append("businessId", getBusinessId())
            .append("kaName", getKaName())
            .append("kaStartTime", getKaStartTime())
            .append("kaEndTime", getKaEndTime())
            .append("kaStatus", getKaStatus())
            .append("kaContent", getKaContent())
            .append("kaImage", getKaImage())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
